From: awilliam@xenbuild.aw Date: Tue, 24 Oct 2006 15:22:56 +0000 (-0600) Subject: [IA64] Move console_start_sync() in INIT path X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15588 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=9180868204f9aacc17b85edc0eb0403ee3922844;p=xen.git [IA64] Move console_start_sync() in INIT path This patch moves console_start_sync() before first message in ia64_init_handler(), and it cleans up ia64_init_handler(). Signed-off-by: Masaki Kanno --- diff --git a/xen/arch/ia64/linux-xen/mca.c b/xen/arch/ia64/linux-xen/mca.c index 30803daced..64151f3a4e 100644 --- a/xen/arch/ia64/linux-xen/mca.c +++ b/xen/arch/ia64/linux-xen/mca.c @@ -1220,12 +1220,6 @@ void ia64_init_handler (struct pt_regs *pt, struct switch_stack *sw) { pal_min_state_area_t *ms; -#ifdef XEN - int cpu = smp_processor_id(); - - printk(KERN_INFO "Entered OS INIT handler. PSP=%lx\n", - ia64_sal_to_os_handoff_state[cpu].proc_state_param); -#endif #ifndef XEN oops_in_progress = 1; /* avoid deadlock in printk, but it makes recovery dodgy */ @@ -1241,7 +1235,12 @@ ia64_init_handler (struct pt_regs *pt, struct switch_stack *sw) */ ms = (pal_min_state_area_t *)(ia64_sal_to_os_handoff_state.pal_min_state | (6ul<<61)); #else + int cpu = smp_processor_id(); + console_start_sync(); + printk(KERN_INFO "Entered OS INIT handler. PSP=%lx\n", + ia64_sal_to_os_handoff_state[cpu].proc_state_param); + /* Xen virtual address in region 7. */ ms = __va((pal_min_state_area_t *)(ia64_sal_to_os_handoff_state[cpu].pal_min_state)); #endif